//
//  JYHomeLeftCell.m
//  JYShop
//
//  Created by 花花 on 2017/9/28.
//  Copyright © 2017年 花花. All rights reserved.
//

#import "JYHomeLeftCell.h"

@implementation JYHomeLeftCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.textLabel.textColor = [UIColor blackColor];
    self.textLabel.font = [UIFont systemFontOfSize:13];
    self.textLabel.textColor = kThemeColor;
    self.textLabel.textAlignment = NSTextAlignmentCenter;
    
}
- (void)setModel:(JYChildrenListMoel *)model{

    _model = model;

    self.textLabel.text = model.name;
}


- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    self.selectedIndicator.hidden = !selected;
    self.textLabel.textColor = selected ? kThemeColor : [UIColor blackColor];

}

@end
